{% extends 'wsite.html' %}

{% block page_name %} actress list  {% endblock %}

{% block page_content %}
    <div class="page-header">
        <h2 class="pager-title">Actress List</h2>
    </div>
    <div class="wsite-pager">
        <form class="form-inline" action="" method="post">
            <a class="btn-primary btn" href="{{ url_for('actress.add_actress') }}">add</a>
        </form>
        <h2></h2>
        <div class="table-responsive">
            <table class="table table-hover table-bordered">
                <thead>
                <tr>
                    <th>#</th>
                    <th>name</th>
                </tr>
                </thead>
                <tbody>
                {% for act in actress_page.items %}
                    <tr>
                        <td>{{ loop.index }}</td>
                        <td>{{ act.name }}</td>
                    </tr>
                {% endfor %}
                </tbody>
            </table>
        </div>
        <nav aria-label="Page navigation">
            <ul class="pagination">
                <li>
                    <a href="#" aria-label="Previous">
                        <span aria-hidden="true">&laquo;</span>
                    </a>
                </li>
                <li class="active"><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
                <li>
                    <a href="#" aria-label="Next">
                        <span aria-hidden="true">&raquo;</span>
                    </a>
                </li>
            </ul>
        </nav>
    </div>
{% endblock %}

